package cn.lili.modules.promotion.entity.dos;

import cn.lili.modules.promotion.entity.vos.TicketVO;
import cn.lili.mybatis.model.BaseStandardEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("li_ticket")
@ApiModel(value = "门票表")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Ticket extends BaseStandardEntity {
    @ApiModelProperty(name = "画布ID")
    private String canvasId;

    @ApiModelProperty(name = "区域ID")
    private String areaId;

    @ApiModelProperty(name = "区域名称")
    private String areaName;

    @ApiModelProperty(name = "列")
    private Integer rowNumbers;

    @ApiModelProperty(name = "行")
    private Integer columnNumbers;

    @ApiModelProperty(name = "座位号")
    private String seat;

    @ApiModelProperty(name = "门票")
    private String ticket;

    @ApiModelProperty(name = "门票类型:0站票、1座票")
    private Integer ticketType;

    @ApiModelProperty(name = "销售状态：待售、已售")
    private String saleState;

    @ApiModelProperty(name = "购买人Id")
    private String buyerId;

    @ApiModelProperty(name = "购买人")
    private String buyerName;

    @ApiModelProperty(name = "订单号")
    private String orderNo;

    @ApiModelProperty(name = "上下架状态:0下架、1上架")
    private Integer downState;

    @ApiModelProperty(name = "区域方向:左右")
    private String areaDirection;

    @ApiModelProperty(name = "场景")
    private String scene;

    @ApiModelProperty(name = "区域票数")
    @TableField(exist = false)
    private Integer areaCount;

}
